package com.wzt.lianfirecontrol.bean.recode.user;

import com.wzt.lianfirecontrol.bean.BaseModel;

import java.util.List;

/**
 * 切换公司树
 */
public class CompanyModel extends BaseModel {

    private String id;
    private String name;
    private List<CompanyModel> children;
    private String parentId;

    private boolean isItemShow = true;// 判断子布局是否显示

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<CompanyModel> getChildren() {
        return children;
    }

    public void setChildren(List<CompanyModel> children) {
        this.children = children;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public boolean isItemShow() {
        return isItemShow;
    }

    public void setItemShow(boolean itemShow) {
        isItemShow = itemShow;
    }

    public CompanyModel() {
    }
}
